package com.ruicar.afs.cloud.common.modules.dto.mq.loan;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>Description：证件信息DTO</p>
 *
 * @author xueyu.ma
 * @version 1.0
 * @create 2020-6-17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CertificateInfoDTO {
    /**
     * 申请编号
     */
    @JSONField(name = "applyNo")
    private String applyNo;
    /**
     * 案件角色：01-主借人、02-共借人、03-担保人
     */
    @JSONField(name = "custRole")
    private String custRole;
    /**
     * 客户名称
     */
    @JSONField(name = "custName")
    private String custName;
    /**
     * 证件类型
     */
    @JSONField(name = "certType")
    private String certType;
    /**
     * 证件号码
     */
    @JSONField(name = "certNo")
    private String certNo;
    /**
     * 证件有效期起
     */
    @JSONField(name = "certStartDate", format = "yyyy-MM-dd")
    private String certStartDate;
    /**
     * 证件有效期止
     */
    @JSONField(name = "certEndDate", format = "yyyy-MM-dd")
    private String certEndDate;
    /**
     * 长期有效标记
     */
    @JSONField(name = "isLongTerm")
    private String isLongTerm;
}
